import ChecksumAccumulator.calculate
object top
{
 def main(args: Array[String]) //主函数入口接收参数
 {
 for (arg <- args)//for循环,arg是元素,args是整体,用arg遍历args
 println(arg +":" + calculate(arg));
 print("---------");
 }
}